package cn.kgc.ubagnet.mapper;

import cn.kgc.ubagnet.pojo.Clothcolor;
import cn.kgc.ubagnet.pojo.ClothcolorExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClothcolorMapper {
    int countByExample(ClothcolorExample example);

    int deleteByExample(ClothcolorExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Clothcolor record);

    int insertSelective(Clothcolor record);

    List<Clothcolor> selectByExample(ClothcolorExample example);

    Clothcolor selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Clothcolor record, @Param("example") ClothcolorExample example);

    int updateByExample(@Param("record") Clothcolor record, @Param("example") ClothcolorExample example);

    int updateByPrimaryKeySelective(Clothcolor record);

    int updateByPrimaryKey(Clothcolor record);
}